package main
import "fmt"
func main(){
	var sum int
	sum = DieJia(100)
	fmt.Printf("sum = %d\n",sum)
}

func DieJia(number int)(int){
	if number == 0{
		return 0
	}
	return number + DieJia(number-1)
}
